package com.hotacorp.opencloud.common.log.feign;

import org.springframework.stereotype.Component;

import com.hotacorp.opencloud.common.commdata.LogBean;
import com.hotacorp.opencloud.common.commdata.Result;

/**
 * @Description:日志服务不可用时，熔断
 * @version 0.5
 * @since JDK1.8
 * @author lwg
 * @copyright (c) 2020. All rights reserved.
 * @date 2020年1月16日 下午3:41:35
 */
@Component
public class LoggingFeignHystric implements LoggingFeign {

	@Override
	public Result<?> addLog(LogBean log) {
		return Result.failed("调用失败");
	}

}
